<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title>Untitled Document</title>
		<script type="text/javascript" src="Criteria.js"></script>
		<script type="text/javascript">
			
			var SetValues = function(o, v){
				
			}
			
			var ProcessDSL = function(p){
				
				var constantes = [];
				
				var conditions = {
					regexp: /^if\s?+\(+\)/g,
					'if': function(s){
						
					}
				}
				
				var trim = function(s){
					return s.replace(/^\s+|\s+$/g,'');
				}
				
				var parametersToObject = function(text){
					var s = trim(text).split(/\n|;/g);
					return s;
				}
				
				var extractMethod = function(a){
					
				}
				
				var invoque = function(){
					
				};
				
				var s;
				alert((s = parametersToObject(p)));
				
				alert(extractMethod(s));
			}
			
			function onLoad(){
				/** #Begin
				
				:teste = 'asdasd'
				
				#End **/ 
				ProcessDSL(":teste = 'teste';:teste2 = 'asdasdasd'");
			}
		</script>
	</head>
	<body onload="onLoad();">
		<div>teste</div>
	</body>
</html>
